<?php

/* @var $divName string */
  $divName= isset ($_GET['divName']) ? $_GET['divName'] : "abcd" ;

  switch ($divName) {
      case "multiple_share":
            //echo "def_multiple_share();";          
          def_multiple_share();
          break;

      default:
          echo "default";
          break;
  }
  return;

function def_multiple_share()
{ ?>
    <h3>Share this site</h3>

            <div class="candidate inline_block">
                <script type="text/javascript">
                    var delicious = {
                    url    : document.URL || window.location.href,
                    //url : "http://answers.yahoo.com",
                    title  : document.title
                }
                F_load_delicious();
                </script>
            </div>

            <div class="candidate inline_block">

<a class="a2a_dd" href="http://www.addtoany.com/share_save">
    <img src="images/addtoany.jpeg" width="48" height="48" border="0" alt="Share" style="padding-top: 5px;"/></a>
<script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>

            </div>

            <div class="candidate inline_block">
<a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical">Tweet</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
            </div>

            <div class="candidate inline_block">
                <a title="Post to Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="normal-count"></a>
<script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script>
            </div>


            <div class="candidate inline_block">
                <label><strong>Short link</strong></label>
                <br />
                <input type="text" value="short link"  style="width:100px;" />
            </div>
<?php
}